<!doctype html>
<html>
<head>
<title><?php echo Mozg_Lang::_('CONTENT_MANAGEMENT_SYSTEM'); ?></title>
<?=$this->Style()->IncludeStyleFile(array('css' => array('admin_main', 'admin_specific'), 'js' => 'placeholder'));?>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head>
<body>
<div id="allPage">
<div class="top_bar"><?php echo Mozg_Lang::_('CONTENT_MANAGEMENT_SYSTEM'); ?> <a href="<?=_ROOT_URL;?>" target="_blank"><?=$this->siteName;?></a><a href="<?=_ROOT_URL;?>" class="side" target="_blank">&nbsp;</a></div>
<div id="min_width">
	<?php
	$logo = Mozg_Cfg::Get('admin/global')->GetLogo();
	?>
	<div class="logo"><a href="<?=htmlspecialchars(Mozg::Router('http')->Create('module=admin'));?>" style="background: url('<?=_ROOT_URL_STATIC.$logo['file'];?>') no-repeat 50% 50%"><!--  --></a></div>
	<?
	for ($i = 0; $i < sizeof($this->messages); $i++)
	{
		
	?>
	<div class="login_error"><?=$this->messages[$i]['message'];?></div>
	<?
	
	}
	
	echo $this->content;
	?>
</div>
</div>
</body>
</html>